import request from '../request';


/*
    标签API,获取和删除
*/
export const tagApi = (url: string) => {
    return request({
        method: 'GET',
        url: url
    })
}

/*
    标签API，新增
*/
export const addTag = (url: string,data: any) => {
    return request({
        method: 'POST',
        url: url,
        data: data
    })
}